To start the http server on port port simply type:
If you want to share files and directories, cd
in to whatever directory you want to serve:
Should you want to use an address other than the default 0.0.0.0
you can use --bind
Ex: python -m http.server 8080 --bind 127.0.0.1
will serve them at the address 127.0.0.1:8080